const state = {
  showCreate: false
}

const getters = {
  initCols: (state,context,rootState) => {
    return rootState.cols
  },
  showCreate: (state) => {
    return state.showCreate
  }
}

const actions = {

}

const mutations = {
  'openCreate' (store) {
    store.showCreate = true;
  },
  'closeCreate' (store) {
    store.showCreate = false;
  }
}

export default {
  state,
  getters,
  actions,
  mutations
}
